/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package unc.pds.model;

import java.rmi.RemoteException;
import javax.ejb.CreateException;
import javax.ejb.EJBHome;
import unc.pds.util.Arch;

/**
 *
 * @author ain
 */
public interface DiaryRemoteHome extends EJBHome {

    //unc.pds.model.DiaryRemote create()  throws CreateException, RemoteException;
    unc.pds.model.DiaryRemote create(unc.pds.data.RootDataBeanRemote rdb, Long sessionKey)  throws CreateException, RemoteException;
    unc.pds.model.DiaryRemote create(Arch doc, Long sessionKey)  throws CreateException, RemoteException;
    unc.pds.model.DiaryRemote create(Long id, Long sessionKey)  throws CreateException, RemoteException;
    
}
